﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using SN.Core;
using SN.Data;
using Agro.Models;
namespace Agro.Services
{
    public interface IFileService:IBaseService
    {
        DataTable FileGetList(QueryBase query, WhereClip wclip);
        List<T_File> GetTopFileList(int topsize);
        bool FileSave(T_File File, out string Msg);

        /// <summary>
        /// 删除文件
        /// </summary>
        /// <param name="ids">文件编号(数组，可同时删除多个文件)</param>
        /// <param name="msg">返回消息</param>
        /// <returns>布尔型</returns>
        bool DeleteFile(string ids, out string msg);
     

    }
}
